import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import{get,post,put,del} from './utils/fetch.js';
Vue.prototype.aGet=get;
Vue.prototype.aPost=post;
Vue.prototype.aPut=put;
Vue.prototype.aDel=del;
Vue.filter('dateFilter',function(value){
  var res=value.slice(0,10)
  return res
})
Vue.filter('timeFilter',function(value){
  var res=value.slice(11,16)
  return res
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
